﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KFC.Utils
{
    public class MapField2Element
    {
       private string _field;
        private List<string> _element;
        private string _insertElement;

        public string InsertElement
        {
            get { return _insertElement; }            
        }
        public MapField2Element()
        {
            _element = new List<string>();
        }
        public void AddElement(string el)
        {
            _element.Add(el);
        }
        public void Insert(string elemnt)
        {
            _insertElement += elemnt;
        }
        public string Field
        {
            get { return _field; }
            set { _field = value; }
        }      

        public List<string> Element
        {
            get { return _element; }
            set { _element = value; }
        }

        internal void Clear()
        {
            _insertElement = "";
        }

       
    }
}
